#import "Rectangle.h"

int main (int argc, char *argv[])
{
    NSAutoreleasePool * pool = [[NSAutoreleasePool alloc] init];

    Rectangle *myRect = [[Rectangle alloc] init];

    [myRect setWidth: 5 andHeight: 8];

    NSLog (@"Prostokt: w = %i, h = %i" myRect.width, myRect.height);
    NSLog (@"Pole powierzchni = %i, Obwd = %i", [myRect area],
               [myRect perimeter]);

    [myRect release];

    [pool drain];
    return 0;
}